package org.locker.domain.vo;

import java.math.BigDecimal;
import org.locker.domain.DividendRecord;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 管理员分润记录视图对象 lk_dividend_record
 *
 * @author winnie
 * @date 2023-10-11
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = DividendRecord.class)
public class DividendRecordVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 分润记录
     */
    @ExcelProperty(value = "分润记录")
    private Long dividendId;

    /**
     * 场地ID
     */
    @ExcelProperty(value = "场地ID")
    private Long positionId;

    /**
     * 场地名称
     */
    private String positionName;

    /**
     * 管理员ID
     */
    @ExcelProperty(value = "管理员ID")
    private Long managerId;

    /**
     * 场地管理员名称
     */
    private String managerUserName;

    /**
     * 代理商id
     */
    @ExcelProperty(value = "代理商id")
    private Long parentManagerId;

    /**
     * 代理商名称
     */
    private String parentManagerUserName;

    /**
     * 订单编号
     */
    @ExcelProperty(value = "订单编号")
    private String orderNo;

    /**
     * 订单价格
     */
    @ExcelProperty(value = "订单价格")
    private BigDecimal amount;

    /**
     * 代理商分成
     */
    private BigDecimal dividendParentAmount;

    /**
     * 平台分成
     */
    private BigDecimal dividendPlatformAmount;

    /**
     * 管理员分成
     */
    private BigDecimal dividendManagerAmount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
